package fi.profecons.csswindows.toolkit;

import fi.profecons.csswindows.Element;

public class StatusBar extends Element {
	
	public StatusBar(){
		super();
		addCommand("new StatusBar('" + getId() + "');");
	}
	
	public void start(){
		addCommand("getElement('" + getId() + "').start();");
	}
	
	public void setValue(int value){
		addCommand("getElement('" + getId() + "').setValue(" + value + ");");
	}
}
